<?php

namespace app\admin\controller;


use think\Db;
use think\Request;
use lib\Tool;
use app\common\model\Article;
use app\admin\controller\AcomController;

class ArticleController extends AcomController
{
    public function callback(){
        $id =input('get.id/d','');
        Article::where('id',$id)->setField('status',0)? ajaxReturn('',1): ajaxReturn();
    }
}
